package com.ruoyi.project.system.domain;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 巡查记录对象 patrol_record
 * 
 * @author ruoyi
 * @date 2021-10-15
 */
public class PatrolRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 检查人id */
    private Long checkUserId;

    /** 检查人姓名 */
    @Excel(name = "检查人姓名")
    private String checkUserName;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String unit;

    /** 文件路径 */
    private String fileUrl;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    private List<Map<String,Object>> fileUrlList;


    public List<Map<String, Object>> getFileUrlList() {
        return fileUrlList;
    }

    public void setFileUrlList(List<Map<String, Object>> fileUrlList) {
        this.fileUrlList = fileUrlList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckUserId(Long checkUserId) 
    {
        this.checkUserId = checkUserId;
    }

    public Long getCheckUserId() 
    {
        return checkUserId;
    }
    public void setCheckUserName(String checkUserName) 
    {
        this.checkUserName = checkUserName;
    }

    public String getCheckUserName() 
    {
        return checkUserName;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkTime", getCheckTime())
            .append("checkUserId", getCheckUserId())
            .append("checkUserName", getCheckUserName())
            .append("unit", getUnit())
            .append("fileUrl", getFileUrl())
            .append("fileName", getFileName())
            .toString();
    }
}
